﻿using System.ComponentModel.DataAnnotations;

namespace MultWebApi.AuthCenter
{
    public class ParamLogInModel
    {
        /// <summary>
        /// 用户名
        /// </summary>
        [Required(ErrorMessage = "Please enter your username")]
        public string Account
        {
            get; set;
        }
        /// <summary>
        /// 密码
        /// </summary>
        //[StringLength(12, MinimumLength = 6)]
        [Required(ErrorMessage = "Please fill in the password")]
        [DataType(DataType.Password)]
        public string Password
        {
            get; set;
        }
    }
}
